package remoting.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.logging.Level;
import java.util.logging.Logger;

public class MyRemotingService extends flex.messaging.services.RemotingService {

    FlexConfigurationManager fcm;

    public MyRemotingService() {
        super(true);
//        fcm = new FlexConfigurationManager();
//        try {
//            List<String> list = fcm.getAnnotatedDestinations();
//            for (String idDest : list) {
//                createDestination(idDest);
//            }
//
//        } catch (IOException ex) {
//            Logger.getLogger(MyRemotingService.class.getName()).log(Level.SEVERE, null, ex);
//        } catch (ClassNotFoundException ex) {
//            Logger.getLogger(MyRemotingService.class.getName()).log(Level.SEVERE, null, ex);
//        }

    }
}
